﻿<Application
    x:Class="SpellCheckeCS.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SpellCheckeCS"
    xmlns:localData="using:SpellCheckeCS.Data">

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <!-- 
                    Styles that define common aspects of the platform look and feel
                    Required by Visual Studio project and item templates
                 -->
                <ResourceDictionary Source="Common/StandardStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <!-- Application-specific resources -->

            <x:String x:Key="AppName">SpellChecker</x:String>

            <Style x:Key="PreviewButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
                <Setter Property="AutomationProperties.AutomationId" Value="PreviewLinkAppBarButton"/>
                <Setter Property="AutomationProperties.Name" Value="Get Supported Languages"/>
                <Setter Property="Content" Value="&#xE12A;"/>
            </Style>

            <Style x:Key="CheckButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
                <Setter Property="AutomationProperties.AutomationId" Value="YesAppBarButton"/>
                <Setter Property="AutomationProperties.Name" Value="Yes"/>
                <Setter Property="Content" Value="&#xE10B;"/>
            </Style>

            <Style x:Key="PageAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
                <Setter Property="AutomationProperties.AutomationId" Value="PageAppBarButton"/>
                <Setter Property="AutomationProperties.Name" Value="Generate Html Page"/>
                <Setter Property="Content" Value="&#xE132;"/>
            </Style>
            <Style x:Key="UploadAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
                <Setter Property="AutomationProperties.AutomationId" Value="UploadAppBarButton"/>
                <Setter Property="AutomationProperties.Name" Value="Select Images ..."/>
                <Setter Property="Content" Value="&#xE11C;"/>
            </Style>
            
        </ResourceDictionary>
        
        
    </Application.Resources>
</Application>
